@echo off
echo Uninstalling existing PyTorch...
.\python_embeded\python.exe -s -m pip uninstall -y torch torchvision torchaudio
echo Installing latest CUDA-enabled PyTorch...
.\python_embeded\python.exe -s -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 --no-cache-dir
pause 